//
//  CustomCollectionViewCell.m
//  UI19_UICollectionView
//
//  Created by dllo on 15/12/3.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "CustomCollectionViewCell.h"

@implementation CustomCollectionViewCell

- (void)dealloc
{
    [_label release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    self.backgroundColor = [UIColor redColor];
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];
    [self.contentView addSubview:self.label];
    [_label release];
    
}

@end
